<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>police</title>
    <link rel="stylesheet" href="./css/weui.min.css">
</head>
<body>
<div class="page">
    <div class="page__hd" style="text-align: center">
        <h1 class="page__title">每日警情</h1>
    </div>
    <div class="page__bd">
        <form action="/addAlert" method="post">
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">选择警区</label></div>
                    <div class="weui-cells weui-cells_radio">
                        @foreach($stationList as $index => $station)
                            <label class="weui-cell weui-check__label" for="x{{$index}}">
                                <div class="weui-cell__bd">
                                    <p>{{$station}}</p>
                                </div>
                                <div class="weui-cell__ft">
                                    <input type="radio" class="weui-check" name="own_police_station" id="x{{$index}}" value="{{$station}}"/>
                                    <span class="weui-icon-checked"></span>
                                </div>
                            </label>
                        @endforeach
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">详细地址</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="detail_addr" placeholder="请输入详细地址"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">报警人</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="alert_people_name" placeholder="请输入报警人姓名"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd">
                        <label class="weui-label">报警人电话</label>
                    </div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="tel" name="alert_people_mobile" placeholder="请输入报警人电话"/>
                    </div>
                </div>
            </div>
            <div class="weui-cell weui-cell_select weui-cell_select-after">
                <div class="weui-cell__hd">
                    <label for="" class="weui-label">报警类型</label>
                </div>
                <div class="weui-cell__bd">
                    <select class="weui-select" name="alert_type">
                        <option value="刑事">刑事</option>
                        <option value="治安">治安</option>
                        <option value="其它">其它</option>
                    </select>
                </div>
            </div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">报警内容</label></div>
                    <div class="weui-cell__bd">
                        <textarea class="weui-textarea" placeholder="请输入报警内容" rows="3" name="alert_detail_info"></textarea>
                        <div class="weui-textarea-counter"><span>0</span>/200</div>
                    </div>
                </div>
            </div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">处理人</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="text" name="process_police_man_name" placeholder="请输入处理人姓名"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd">
                        <label class="weui-label">处理人电话</label>
                    </div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="tel" name="process_police_man_mobile" placeholder="请输入处理人电话"/>
                    </div>
                </div>
            </div>
            <div class="weui-btn-area">
                <input class="weui-btn weui-btn_primary" type="submit" />
            </div>
        </form>
    </div>
</div>
</body>
</html>
